﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using xIx.Web.UI;

public partial class MasterTheme_EsSimp : MasterBase, iPageBodyTag
{
    public override xIx.Web.XmlSiteMapProvider_WithBasicRoles MainSiteMap
    {
        get
        {
            return MainSiteMapSrc.Provider as xIx.Web.XmlSiteMapProvider_WithBasicRoles;
        }
    }

    public HtmlControl PageBodyTag
    {
        get { return pagebody; }
    }

    protected override void OnLoad(EventArgs e)
    {
        if (!IsPostBack) {
            Menu1.Visible = !"Yes".Equals(Request["Lite"], StringComparison.CurrentCultureIgnoreCase);
        }
        base.OnLoad(e);
    }


    public override void SetPageDisable(string msg) {
        ContentPlaceHolder1.Visible = false;
        lblAccessDeny.Visible = true;
        lblAccessDeny.Text = msg;
    }
}
